﻿using System.Web.Mvc;
using Newtonsoft.Json;

namespace Web.Models.Common {

    [ModelBinder(typeof(LogInModel))]
    public class LogInModel : JsonNetModelBinder<LogInModel>{

        [JsonProperty(PropertyName = "email")]
        public string Email    { get; set; }

        [JsonProperty(PropertyName = "password")]
        public string Password { get; set; }

        
    }
}